package cn.bluemobi.app.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.app.entity.output.ShoppingCart;
import cn.bluemobi.app.entity.output.ShoppingCartItem;

public interface ShoppingCartMapper {

	int checkIsExistShoppingCart(Map<String, Object> params);

	int insertShoppingCart(Map<String, Object> params);

	int updateShoppingCart(Map<String, Object> params);

	int updateShoppingCartQuantity(List<Map<String, Object>> list);

	int deleteShoppingCarts(Map<String, Object> params);

	List<ShoppingCartItem> findShoppingCartList(String memberId);

	List<Map<String, String>> findShoppingCarts(String memberId);

	ShoppingCart findMerchantInfo(String key);

}
